<template>
  <van-nav-bar title="消息" left-arrow @click-left="onClickLeft" />
  <div class="message">
    <div class="none">
      <img src="../../assets/img/none.png" alt="" />
      <span>暂无数据</span>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();
const onClickLeft = () => {
  router.go(-1);
};
</script>

<style lang="less" scoped>
.message{
  height: calc(100vh - 48);
  position: relative;
  .none{
    text-align: center;
    position: absolute;
    color: #999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    img{
      width: 100%;
    }
  }
}
</style>
